package io.babystar.modules.business.dao;

import io.babystar.modules.business.entity.TeacherEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;

/**
 * 教练管理
 *
 * @author jeson
 * @email 574197743@qq.com
 * @date 2021-03-23 20:03:34
 */
@Mapper
public interface TeacherDao extends BaseMapper<TeacherEntity> {

    /**
     * 分页重写
     * @param map
     * @return
     */
    List<TeacherEntity> queryPageTeacher(Map<String, Object> map);

    int queryPageTeacherCount(Map<String, Object> map);

    List<TeacherEntity> getTeacherList(Map<String, Object> map);

}
